//
//  HomeHeaderUPView.h
//  FD
//
//  Created by Yasin on 2018/10/12.
//  Copyright © 2018年 ZhiYuan Network. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface HomeHeaderUPView : UIView
//点击定位block回调
@property(nonatomic, strong) void(^homeHeaderUpViewClickLocationBlock)(void);
//点击预约block回调
@property (nonatomic, copy)void(^homeHeaderUpViewClickYuYuBlock)(void);

/**点击了头像的回调
 2019-2-19点击昵称同上
 */
@property (nonatomic, copy) void(^homeHeaderUpViewClickAvatorBlock) (void);

@property (weak, nonatomic) IBOutlet UIButton *addressBtn; //定位地址
@property (weak, nonatomic) IBOutlet UIImageView *iconIv; //头像

/**2019-1-21头像 点击头像跳转到个人资料页面 xib中打开用户交互,然后添加手势*/
@property (weak, nonatomic) IBOutlet UILabel *phoneLb; //手机号

@property (weak, nonatomic) IBOutlet UILabel *jiFenLb; //积分
@property (weak, nonatomic) IBOutlet UILabel *kaQuanLb; //卡券

/**请求头像电话、昵称等数据,并进行赋值*/
- (void)requestHomeUserDataAndAssignData;


//显示隐藏小圆点
- (void)showRedDotView;
- (void)hiddenRedDotView;

@end
/**
 {"event":"SUCCESS","data":{"head":"public/dceb2cb59ebe4e36b949bb01addf5cc0","coupon":2,"bonus":0.0,"nickname":"888","collection":0},"describe":""}
 */
